|
SET SPRITE ALPHA
This command will set the alpha value of the specified sprite.
SET SPRITE ALPHA Sprite Number, Alpha Value
Sprite Number
Integer
The sprite number
Alpha Value
Integer
The Alpha value range is 0 to 255, with 255 being completely solid and 0 being invisible
This command does not return a value.
The alpha controls how much of the sprite is present on screen and is used to create a translucent sprite. The Alpha value range is 0 to 255, with 255 being completely solid and 0 being invisible. The parameters should be specified using integer values.
load image "manwalking.bmp",1
cls
sprite 1,100,100,1
set sprite alpha 1,255
do
loop
end
SPRITE Commands Menu
Index
|